package com.qf.service;

import com.qf.pojo.User;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 千锋健哥
 */
@Service
public class UserServiceImpl implements UserService {

    //每页查询3条
    //private final static Integer PAGE_SIZE = 3;

    //@Autowired
    //private UserDao userDao;

    @Override
    public List<User> findUserAll() {
        //List<User> all = userDao.findAll();
        //return all;
        return null;
    }

    //@Override
    //public PageInfo<User> findUserByPage(int pageNo) {
//        PageHelper.startPage(pageNo, PAGE_SIZE);
//        List<User> all = userDao.findAll();
//        PageInfo<User> pageInfo = new PageInfo<>(all);
//        return pageInfo;
        //return null;
   // }

}
